<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    img{
      width: 300px;
      height: 300px;
    }
  </style>
</head>
<body>
  <div id="app">
    <img src="url" alt="">
    <img v-bind:src="url" alt="">
  </div>
</body>
<script src="./vue.js"></script>
<script>

  let vm = new Vue({
    el:"#app",
    data:{
      url:"https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3624385151,941531441&fm=26&gp=0.jpg"
    }
  })

  /*
    属性绑定 v-bind   简写 v-bind:src === :src
    <img src=''>
    <div width height class id>
    <src width height class id>
    属性后面跟的是固定字符串
    属性绑定可以让属性后面跟变量或者表达式
    
  */ 


</script>
</html>